package demo3;
class Student77 {
    private String name;
    private int age;
    public Student77(String name,int age){
        this.name = name;
        this.age = age;
    }

    public String read() {
        return "我是:"+name+",年龄:"+age;
    }
}


public class d10 {

    public static void main(String[] args) {
        Student77 stu = new Student77("张三",18);
        System.out.println(stu.read());
    }
}


